package com.cqan.log.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.cqan.log.dao.OperateLogDao;
import com.cqan.log.entity.OperateLog;
import com.cqan.log.service.OperateLogService;
import com.cqan.service.impl.EntityServiceImpl;

@Service("operateLogService")
public class OperateLogServiceImpl extends
		EntityServiceImpl<OperateLog, Long, OperateLogDao> implements
		OperateLogService {

	@Override
	@Autowired
	public void setEntityDao(OperateLogDao entityDao) {
		this.entityDao = entityDao;
	}

	@Override
	public void log(OperateLog log) {
		entityDao.saveEntity(log);
	}
	

}
